package com.itheima.d05_static_attention;

public class Cats {
    public static String name;
    public int age;

    public static void staticMrthod() {
        System.out.println(name);
        //System.out.println(age);
    }


    public void instancemethod() {// 实例方法
        System.out.println(name);
        System.out.println(age);
        staticMrthod();
        System.out.println(this);
    }
    //注意事项3 类方法中，可以使用this；

}